package cn.whale.basic.constants;

public class MQConstants {
    //交换机
    public static final String EXCHNAGE_ORDER_KILL = "EXCHNAGE_ORDER_KILL";
    //订单队列，
    public static final String QUEUE_ORDER_KILL = "QUEUE_ORDER_KILL";
    //下单成功后把消息放入延迟队列
    public static final String QUEUE_ORDER_KILL_DELAY = "QUEUE_ORDER_KILL_DELAY";
    //过期没支付的订单放到该队列
    public static final String QUEUE_ORDER_EXPIRED = "QUEUE_ORDER_EXPIRED";
    //支付结果处理的MQ
    public static final String QUEUE_PAY_NOTEFIY = "QUEUE_PAY_NOTEFIY";

    //路由键
    public static final String ROUTINGKEY_QUEUE_KILL = "ROUTINGKEY_QUEUE_KILL";
    public static final String ROUTINGKEY_QUEUE_PAY_NOTIFY = "ROUTINGKEY_QUEUE_PAY_NOTIFY";
    //过期队列的路由键
    public static final String ROUTINGKEY_QUEUE_KILL_EXPIRED = "ROUTINGKEY_QUEUE_KILL_EXPIRED";
    public static final String ROUTINGKEY_QUEUE_KILL_DELAY = "ROUTINGKEY_QUEUE_KILL_DELAY";

}
